/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: ORDER_TYPE.java
 *   @Date: 19-8-4 下午6:22
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2019 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.enums;

public enum ORDER_TYPE {

    ORDER_TYPE_GENERAL_ENTRUSTMENT(0,"普通委托"),
    ORDER_TYPE_PLANNING_ENTRUSTMENT(1,"计划委托"),
    ORDER_TYPE_HOLD(2,"持仓订单"),
    ORDER_TYPE_HISTOREY_GENERAL_ENTRUSTMENT(3,"历史普通委托"),
    ORDER_TYPE_HISTOREY_PLANNING_ENTRUSTMENT(4,"历史计划委托"),
    ORDER_TYPE_HISTOREY_TRADE(5,"历史成交"),
    ORDER_TYPE_STOP_PROFIT_LOSS(6,"止盈止损");

    private int orderType;
    private String orderDesc;

    ORDER_TYPE(int oType, String desc) {
        orderType = oType;
        orderDesc = desc;
    }

    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public String getOrderDesc() {
        return orderDesc;
    }

    public void setOrderDesc(String orderDesc) {
        this.orderDesc = orderDesc;
    }
}
